package cn.iocoder.yudao.module.famous.doctor.controller.admin.extraction.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;


/**
 * 开方 Excel VO
 *
 * @author 档案
 */
@Data
public class ExtractionExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty(value = "病情", converter = DictConvert.class)
    @DictFormat("fam_illness") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Long illness;

    @ExcelProperty( "疾病标签")
    private String illnessLabel;

    @ExcelProperty("药方使用次数")
    private Long useNum;

    @ExcelProperty("多少病种使用")
    private Long illnessNum;

    @ExcelProperty("处方标题")
    private String title;

    @ExcelProperty("药方")
    private String content;

    @ExcelProperty("剂量")
    private Long dosage;

    @ExcelProperty("日用量")
    private Long dailyConsumption;

    @ExcelProperty("注意事项")
    private String mattersAttention;

    @ExcelProperty("药方使用说明")
    private String useBook;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("患者用户")
    private String patientId;

    @ExcelProperty(value = "用法", converter = DictConvert.class)
    @DictFormat("fam_usage") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer usage;

}
